Online documentation - WebsydianExpress v3.5 |
WSYEXTJS/ExtGridEventHandlerPopUp
Note that this abstract function is placed in the WSYEXTJS model.
This EventHandler can be used when you want a grid event that should open a pop up window.
The EventHandler inherits from ExtGridEventHandler and has the same basic functionality. The wsyeventtype source code has the default value wsyextpopupgridevent, which provides the JavaScript necessary for opening a pop up window when the button is pressed.
As for all Websydian grid events, the values in the webinput variable will be populated by the WsyGrid values of the record the button is shown in.
The ExtEventHandlerPopUp calls a PageGenerator. The output generated by this PageGenerator is used to populate the pop up window that was opened when the button was pressed. To enable the user to close the pop up window again, you should ensure that the PageGenerator includes/comprises an EventHandler that has the value wsyclose specified for the source code wsyonsuccess. In most cases, this EventHandler should just call the delivered WSYEXTJS/ExtStatusPage.